Veri cation of Synchronous Circuits by Symbolic Logic Simulation

نویسنده

  • Randal E. Bryant
چکیده

A logic simulator can prove the correctness of a digital circuit when it can be shown that only circuits implementing the system speciication will produce a particular response to a sequence of simulation commands. By simulating a circuit symbolically, veriication can avoid the combinatorial explosion that would normally occur when evaluating circuit operation over many combinations of input and initial state. In this paper, we describe our methodology for verifying synchronous circuits using the stack circuit of Mead and Conway as an illustrative example. Logic simulators have long been used to test for errors in digital circuit designs. Typically, however, the user only simulates a limited set of test cases and assumes that the circuit is correct if the simulator yields the expected results for all cases. Unfortunately, this form of simulation provides no guarantee that all design errors have been eliminated. A successful simulation run can indicate either that the circuit design is correct, or that an insuucient set of test cases was tried. Conventional wisdom holds that simulators are incapable of more rigorous veriication. They are viewed in the same class as program debuggers{useful tools for informal testing, but nothing more. The conventional wisdom about logic simulation overlooks the capabilities provided by three-valued logic modeling, in which the state set f0; 1g is augmented by a third value X indicating an unknown digital value. Most modern logic simulators provide this form of modeling, if for nothing more than to provide an initial value for the state variables at the start of simulation. Assuming the simulator obeys a relatively mild monotonicity property, a three-valued simulator can verify the circuit behavior for many possible input and initial state combinations simultaneously. That is, if the simulation of a pattern containing X 's yields 0 or 1 on some node, the same result would occur if these X 's were replaced by any combination of 0's and 1's. This technique is eeective for cases where the behavior of the circuit for some operation is not supposed to depend on the values of some of the inputs or state variables. Using a conventional simulator, a surprisingly large class of circuits can be veriied in polynomial time (as measured in the circuit size). For example, an N-bit random access memory (RAM) can be veriied by simulating just O(N log N) patterns with

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Towards a Verification Technique for Large Synchronous Circuits

We present a symbolic simulation based veri cation approach which can be applied to large synchronous circuits A new technique to encode the state and input constraints as parametric Boolean expressions over the state and input variables is used to make our symbolic simulation based veri cation approach e cient The constraints which are encoded through parametric Boolean expressions can involve...

متن کامل

Hierarchical Models of Synchronous Circuits

As industrial circuit designs become larger and more complex, the use of simulation as the sole means for veri cation of their correctness no longer su ces. One of the potential methods to complement simulation is formal veri cation, in which mathematical methods are applied to prove that desired properties hold of circuit models. In this thesis, we develop a mathematical model of synchronous s...

متن کامل

Formal Veri cation of Memory Arrays

Veri cation of memory arrays is an important part of processor veri cation. Memory arrays include circuits such as on-chip caches, cache tags, register les, and branch prediction bu ers having memory cores embedded within complex logic. Such arrays cover large areas of the chip and are critical to the functionality and performance of the system. Hence, these circuits are custom designed at the ...

متن کامل

Probabilistic Symbolic Simulation and Veri cation with -OBDDs

Ordered Binary Decision Diagrams (OBDDs) have already proved useful in the veriication of combinational and sequential circuits. Due to limitations of the descriptive power of OBDDs several more general models of Binary Decision Diagrams have been studied. In this paper,-OBDDs-also known as Mod2OBDDs-in respect to their ability to serve as a tool for combinational veriication are considered. Be...

متن کامل

On the Reuse of Symbolic Simulation Results for Incremental Equivalence Verification of Switch-Level Circuits

Incremental methods are successfully applied to deal with successive veri cations of slightly modi ed switchlevel networks. That is, only those parts a ected by the changes are symbolically traversed for veri cation. In this paper, we present an incremental technique for symbolic simulators which is inspired in both existing incremental techniques for non-symbolic simulators and a token-passing...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1989